package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkBackVisitTemplateFieldContent;
import com.zb.vo.WorkFieldContentVo;

import java.util.List;

/**
 * <p>
 * 工单回访模板字段内容表，该表存储字段类型为：单选、多选的内容 服务类
 * </p>
 *
 * @author WEN
 * @since 2023-10-08
 */
public interface ZjWorkBackVisitTemplateFieldContentService extends IService<ZjWorkBackVisitTemplateFieldContent> {

    /**
     * 根据回访模板字段ID集合获取字段内容
     * @param workBackVisitTemplateFieldIds
     * @return
     */
    List<ZjWorkBackVisitTemplateFieldContent> getByWorkBackVisitTemplateFieldIds(List<Long> workBackVisitTemplateFieldIds);

    /**
     * 根据回访模板字段ID集合删除字段内容
     * @param workBackVisitTemplateFieldIds
     */
    void deleteBatchByWorkBackVisitTemplateFieldIds(List<Long> workBackVisitTemplateFieldIds);

    /**
     * 根据回访模板字段ID集合获取字段内容
     * @param workBackVisitTemplateFieldId
     * @return
     */
    List<ZjWorkBackVisitTemplateFieldContent> getByWorkBackVisitTemplateFieldId(Long workBackVisitTemplateFieldId);

    /**
     * 根据自定义字段ID删除
     * @param workBackVisitTemplateFieldIds
     */
    void removeByWorkBackVisitTemplateFieldIds(List<Long> workBackVisitTemplateFieldIds);
}
